package com.company.OfferGuide;

public class 表示数值的字符串 {

    public boolean isNumber(String s) {
        if (s.startsWith(".")) {
            s = s.substring(1);
        }
            try {
                Integer.parseInt(s.trim());
                return true;
            }catch (Exception e) {
                return false;
            }
    }

}
